import request from '@/utils/request'

export function queryTaskSchedule(query) {
  return request({
    url: '/api/admin/firetask/queryTaskSchedule',
    method: 'get',
    params: query
  })
}

export function queryTaskScheduleById(id) {
  return request({
    url: '/api/admin/firetask/' + id,
    method: 'get',
    params: id
  })
}

export function collectList(query, tenantId) {
  return request({
    url: '/api/admin/fireTenement/getCollect/' + tenantId,
    method: 'get',
    params: query
  })
}


export function screeningUserCount(beginDate, endDate) {
  return request({
    url: '/api/admin/fireBuilding/screeningUserCountPC',
    method: 'get',
    params: { beginDate, endDate }
  })
}


